﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MicropleSoft.WmsServiceLibrary.BaseDataService
{
    public class BaseDataConfigEntity
    {
        private static List<BaseDataConfigEntity> _baseDataConfigEntityList = null;
        public static List<BaseDataConfigEntity> GetBaseDataConfigEntityList ()
        {
            if(_baseDataConfigEntityList == null)
            {
                IBaseDataConfigReader baseDataConfigReader = new BaseDataConfigReader();
                _baseDataConfigEntityList = baseDataConfigReader.Read();
            }
            return _baseDataConfigEntityList;
        }

        public string Key { get; set; }
        public string Sql { get; set; }
        public List<LookUpViewHeader> LookUpViewHeaderList { get; set; }
    }
}
